package manager_service.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import test_common.entity.Chapter;

import java.util.Date;

/**
 * @author zhangzheng
 * @create 2021/1/5
 */
public interface BackChapterService {
    public void addChapter(Chapter chapter);
    public PageInfo<Chapter> showChapters(Integer pageNoint, Integer pageSizeint,Integer courseId);
    void modifyStatus(Chapter chapter);
    Chapter selectChapter(Integer chapterId);
    void modifyChapter(Chapter chapter);
    PageInfo<Chapter> searchChapters(String title, String status, String id,String courseId, Date dateStart,Date dateEnd,Integer pageNoint, Integer pageSizeint);
}
